<?php

declare(strict_types=1);
namespace Service\UserService;
use Service\BaseService;
use Hyperf\RateLimit\Annotation\RateLimit;
/**
 * @author Administrator
 *
 */
class UserService extends BaseService
{
    /**
     * @RateLimit(create=1, capacity=3)
     * @param int $bid
     */
    public function getUserById(int $id)
    {
        echo $id.PHP_EOL;
        return $id;
    }
}